export const TABLE_CLOUMNS = [
  {
    label: '序号',
    prop: 'index'
  },
  {
    label: '学科名称',
    prop: 'subjectName',
    sortable: true
  }, {
    label: '创建者',
    prop: 'username',
    sortable: true
  }, {
    label: '创建日期',
    prop: 'addDate',
    sortable: true
  }, {
    label: '前台是否显示',
    prop: 'isFrontDisplay',
    sortable: true
  }, {
    label: '二级目录',
    prop: 'twoLevelDirectory',
    sortable: true
  }, {
    label: '标签',
    prop: 'tags',
    sortable: true
  }, {
    label: '题目数量',
    prop: 'totals',
    sortable: true
  }, {
    label: '操作',
    width: 300,
    fixed: 'right',
    children: [
      {
        type: 'button',
        name: '学科分类',
        key: 'classify',
        prop: {
          type: 'text',
          size: 'small'
        }
      },
      {
        type: 'button',
        name: '学科标签',
        key: 'label',
        prop: {
          type: 'text',
          size: 'small'
        }
      },
      {
        type: 'button',
        name: '修改',
        key: 'correct',
        prop: {
          type: 'text',
          size: 'small'
        }
      },
      {
        type: 'button',
        name: '删除',
        key: 'delete',
        prop: {
          type: 'text',
          size: 'small'
        }
      }
    ]
  }]
export const FILTERS = [
  {
    props: {
      label: '学科部门'
    },
    componentpoprs: {
      placeholder: '请选择',
      clearable: true,
      multiple: true
    },
    type: 'input',
    value: '',
    key: 'departmentId',
    children: []
  }
]
export const BTNS = [
  {
    name: '清除',
    key: 'delete',
    props: {
    }
  },
  {
    name: '搜索',
    key: 'search',
    props: {
      type: 'primary'
    }
  },
  {
    name: '新增学科',
    key: 'addSubject',
    props: {
      type: 'success',
      icon: 'el-icon-edit',
      class: 'right'
    }
  }
]
